<div class="tinformations index">
	<h2><?php __('Training Informations');?></h2>
	<?php echo $this->Html->link(__('Add New', true), array('action' => 'add')); ?>
	<table cellpadding="0" cellspacing="0">
	<tr>
			<th>SL<?php //echo $this->Paginator->sort('id');?></th>
			<th><?php echo $this->Paginator->sort('Course title');?></th>
			<th><?php echo $this->Paginator->sort('institute');?></th>
			<th><?php echo $this->Paginator->sort('date from');?></th>
			<th><?php echo $this->Paginator->sort('date to');?></th>
			<th><?php echo $this->Paginator->sort('grade');?></th>
			<th><?php echo $this->Paginator->sort('position');?></th>
			<th><?php echo $this->Paginator->sort('country');?></th>
			<th><?php echo $this->Paginator->sort('place');?></th>
			
			<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
	$i = 0;
	foreach ($tinformations as $tinformation):
		$class = null;
		if ($i++ % 2 == 0) {
			$class = ' class="altrow"';
		}
	?>
	<tr<?php echo $class;?>>
		<td><?php echo $i; //echo $child['Child']['id']; ?>&nbsp;</td>
		<td><?php echo $tinformation['Tinformation']['coursetitle']; ?>&nbsp;</td>
		<td><?php echo $tinformation['Tinformation']['institute']; ?>&nbsp;</td>
		<td><?php echo $tinformation['Tinformation']['datefrom']; ?>&nbsp;</td>
		<td><?php echo $tinformation['Tinformation']['dateto']; ?>&nbsp;</td>
		<td><?php echo $tinformation['Tinformation']['grade']; ?>&nbsp;</td>
		<td><?php echo $tinformation['Tinformation']['position']; ?>&nbsp;</td>
		<td><?php echo $tinformation['Tinformation']['country']; ?>&nbsp;</td>
		<td><?php echo $tinformation['Tinformation']['place']; ?>&nbsp;</td>
		
		
		<td class="actions">
			<?php //echo $this->Html->link(__('View', true), array('action' => 'view', $tinformation['Tinformation']['id'])); ?>
			<?php echo $this->Html->link(__('Edit', true), array('action' => 'edit', $tinformation['Tinformation']['id'])); ?>
			<?php echo $this->Html->link(__('Delete', true), array('action' => 'delete', $tinformation['Tinformation']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $tinformation['Tinformation']['id'])); ?>
		</td>
	</tr>
<?php endforeach; ?>
	</table>
	<p>
	<?php
	/*echo $this->Paginator->counter(array(
	'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true)
	));*/
	?>	</p>

	<!-- <div class="paging">
		<?php //echo $this->Paginator->prev('<< ' . __('previous', true), array(), null, array('class'=>'disabled'));?>
	 | 	<?php //echo $this->Paginator->numbers();?>
 |
		<?php //echo $this->Paginator->next(__('next', true) . ' >>', array(), null, array('class' => 'disabled'));?>
	</div> -->
</div>
<div class="actions">
	<?php echo $this->element('leftmenu'); ?>
</div>